Hey, My Question: Is it possible to copy the content of an OLE object to clipboard with dxl? I don't want to copy the Ole. I want to copy the content after the Ole is activated. My approach: Object obj = object(1) oleActivate(obj) //copy the content to clipboard
Thanks for your help :) Regards, Shariq C.Shariq - Fri Dec 07 09:49:19 EST 2018 |
Re: Copy content of OLE bool oleCopy(EmbeddedOleObject Operation
The first form copies the embedded OLE object
The second form copies the embedded OLE object at position index in |
Re: Copy content of OLE Hey, thx for your reply but I already looked at these two functions. They are not solving my problem. Additional Question: What is the meaning of index in the 2nd function?
My current solution which I found after posting: 1. activate the OLE 2. get connection to the word application (in my case I only want to copy OLE objects which are word tables) 3. run macro in word which copy the content
Maybe this is not the best way but it works :) Maybe you have a better idea Regards
|
Re: Copy content of OLE C.Shariq - Tue Dec 11 04:12:34 EST 2018 Hey, thx for your reply but I already looked at these two functions. They are not solving my problem. Additional Question: What is the meaning of index in the 2nd function?
My current solution which I found after posting: 1. activate the OLE 2. get connection to the word application (in my case I only want to copy OLE objects which are word tables) 3. run macro in word which copy the content
Maybe this is not the best way but it works :) Maybe you have a better idea Regards
I'm not exactly sure, I have only used the first form. It makes it sound like if there are multiple OLEs in an object, you could select one to copy. But that is just my guess, maybe someone who has used it can help. |